<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>使用storage开发网站列表程序(from菜鸟教程)</title>
    <style>
        .box {
            border: 2px dashed #ccc;
            width: 320px;
            text-align: center;
        }
        .box input[type='button']{
            appearance: none;

        }
        table,tr,td{
            border:1px solid #e0e0e0;
        }

        table{
            max-width: 80vw;
            border-collapse: collapse;
        }
    </style>
</head>
<body>
<div class="box">
    <label for="sitename">(key)：</label>
    <input type="text" id="sitename" name="sitename" class="text"/>
    <br>
    <br>
    <label for="siteurl">(value)：</label>
    <input type="text" id="siteurl" name="siteurl"/>
    <br/>
    <br>
    <input type="button" onclick="save()" value="新增记录"/>
    <hr/>
    <label for="search_phone">输入key：</label>
    <input type="text" id="search_site" name="search_site"/>
    <br>
    <br>
    <input type="button" onclick="find()" value="查找value"/>
    <p id="find_result"><br/></p>
</div>
<br>
<div id="list">

</div>
<script src="index.js"></script>

</body>
</html>